package com.tebiecloud.order.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 订单评价表
 * @author tebie
 * @date 2019-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderEvaluate extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "evaluate_id", type = IdType.ID_WORKER)
    private Long evaluateId;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 满意度:1~5级
     */
    private String satisfaction;

    /**
     * 用心度:1~5级
     */
    private String intention;

    /**
     * 到位程度:1~5级
     */
    private String sharpness;

    /**
     * 评论获取的乖乖币
     */
    private Integer coin;

    /**
     * 图片链接
     */
    private String image;

}
